Adds an entry to an L2PT profile.
profile profile_name | Specifies the profile that defines L2PT configuration for L2 protocols. |
add protocol filter filter_name | Adds the specified Layer 2 protocol filter. |
action | Specifies the action to perform on PDUs of the protocol (the default value is tunnel). |
tunnel | Specifies to tunnel PDUs through the network. |
cos cos | Specifies to override the class of service for tunneled PDUs, and specifies the class of service value to use for tunneling PDUs. |
dscp | Specifies to set DSCP in the outer IP header when tunneled over VXLAN network. |
dscp_value | Specifies the DSCP value to use in the outer IP header when the inner IP header is not present or when the replace is specified (default is 0). Range is 0-63. |
replace | Specifies to replace the DSCP in the outer IP header with the configured value (default is do not replace, copy the inner DSCP to the outer header). |
encapsulate | Specifies to encapsulate PDUs at egress, and decapsulate L2PT packets at ingress. |
none | Specifies to not participate in tunneling for this protocol. |
Disabled.
The default dscp_value is 0.
The default replace is to not replace the DSCP.
Use this command to add an entry to an L2PT profile.
The following example adds an entry to my_l2pt_prof to tunnel protocols in "mylistt" at cos 2:
configure l2pt profile my_l2pt_prof add protocol filter mylist action tunnel cos 2
The following example adds an entry to my_l2pt_prof to encapsulate/decapsulate protocols in "mylist":
configure l2pt profile my_l2pt_prof add protocol filter mylist action encapsulate
The following example adds an entry to my_l2pt_prof that is in use by 2 services:
configure l2pt profile my_l2pt_prof add protocol filter mylist
The following example configures a DSCP value to be set in the outer IP header when the inner DSCP is not present:
configure l2pt profile "vxlan_cdp" add protocol filter cdp action tunnel dscp 2
The following example copies the inner DSCP to the outer header when the inner DSCP is present:
configure l2pt profile "vxlan_cdp" add protocol filter cdp action tunnel dscp 3
The following example overrides the outer DSCP (even if the inner DSCP is present):
configure l2pt profile "vxlan_cdp" add protocol filter cdp action tunnel dscp 2 replace
This command was first available in ExtremeXOS 15.5.
Support for DSCP on VXLAN supported platforms was added in ExtremeXOS 31.3.
This command is available on all Universal switches supported in this document.